<script setup lang="ts">
import LgDict from '@/soar/components/LgDict/index.vue';

const props = defineProps<{
  data: any[];
}>();
</script>

<template>
  <table class="gl-table">
    <tr>
      <th>key</th>
      <th>名称</th>
    </tr>
    <tr v-for="x in data" :key="x.key">
      <td>{{ x.name }}</td>
      <td>
        <lg-dict v-model="x.permit" code="FieldPermitEnum" component="t-radio-group" />
      </td>
    </tr>
  </table>
</template>

<style scoped lang="less"></style>
